]> dgit.raspbian.org Git - gnome-shell.git/commit
util: Add lerp function
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 31 Dec 2020 17:18:42 +0000 (14:18 -0300)
committerMarge Bot <marge-bot@gnome.org>
Fri, 29 Jan 2021 15:01:03 +0000 (15:01 +0000)
commit07c970d90c768003f35a0d3f1fb9913d5a2b045d
tree3ff23e940f45b79fd1c559b93ae865cb6cf00bd4
parenta29e002a41a03bb3d2220d2de79c090e0717fa10
util: Add lerp function

We're going to lerp a lot in the future, to it's worthy sharing
this simple but effective interpolation function.

Add Util.lerp().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1593>
js/misc/util.js